package com.heima.apis.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "敏感词管理控制类Controller")
public interface AdSensitiveControllerApi {

    @ApiOperation("根据名称分页查询敏感词")
    ResponseResult list(SensitiveDto dto);

    @ApiOperation("新增敏感词")
    ResponseResult insert(AdSensitive adSensitive);

    @ApiOperation("修改敏感词")
    ResponseResult update(AdSensitive adSensitive);

    @ApiOperation("删除敏感词")
    ResponseResult delete(Integer id);
}
